#include<iostream>
using namespace std;

template <class T>
void max(T a,T b,T c){
   int x;

   if(a>b){
       x=a;a=b;b=x;
   }
   
   if(a>c){
       x=a;a=c;c=x;
   }

   if(b>c){
       x=b;b=c;c=x;
   }

   cout << a << b << c << endl;
}

int main(){
    int x,y,z;
    cin >> x >> y >> z;

    max<int>(x,y,z);
    return 0;
}

